"""
11 - Dars
"""
NAME = 'John'
AGE = 30

print('My name is ' + NAME + '. I\'m ' + str(AGE))
print('My name is %(sham)s. I\'m %(age1)d' %{'sham': NAME, 'age1': AGE})
print("My name is %s. I\'m %d" %(NAME, AGE)) #pylint: disable=consider-using-f-string
print('Title: %s, Price: %.2f' %('Sony', 40)) #pylint: disable=consider-using-f-string

# format
print('Mening ismim {}. Yoshim {}'.format(NAME, AGE)) #pylint: disable=consider-using-f-string
print('Mening ismim {0}. Yoshim {1}'.format(NAME, AGE)) #pylint: disable=consider-using-f-string
print('Mening ismim {1}. Yoshim {0}'.format(NAME, AGE)) #pylint: disable=consider-using-f-string
print('Mening ismim {name}. Yoshim {age}'.format(name=NAME, age=AGE)) #pylint: disable=consider-using-f-string

# f-strings
print(f'Mening ismim {NAME}. Yoshim {AGE}')
print(f'Mening ismim {NAME}. Yoshim {AGE + 5}')
# print('5 + 2 = {}'.format(5 + 2))
print(f'5 + 2 = {5 + 2}')
